package com.pxye.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Title: HelloController
 * @Mail: yepx2013@gmail.com
 * @Author: Yepx
 * @Description: 等价于@Controller 和 @RequstBody
 */
@RestController
public class HelloController {
  
	
	@RequestMapping("/hello")
	public String hello(){
		
		return "hello";
	}
}
